//
//  LevelModel.h
//  DaJiang
//
//  Created by sally on 16/10/14.
//  Copyright © 2016年 jiniu. All rights reserved.
//

#import "BussinessModel.h"
#import "MainInterface.h"

/**
 *  分类实体
 */
@class LevelData;
@interface LevelModel : BussinessModel

@property (nonatomic, strong) LevelData *data;
@property (nonatomic, assign) NSInteger levelid;
@property (nonatomic, assign) NSInteger updated_at;
@property (nonatomic, assign) NSInteger created_at;

//获取一级分类列表
+ (void)queryLevel1ListWithCompletion:(void (^)(NSMutableArray *levelList))completion;

//获取二级分类列表
+ (void)queryLevel2ListWithLevel1Id:(NSInteger)level1Id
                         completion:(void (^)(NSMutableArray *levelList))completion;

@end

@interface LevelData : BussinessModel

@property (nonatomic, assign) NSInteger state;
@property (nonatomic, assign) NSInteger level;
@property (nonatomic, assign) NSInteger level_1_id;
@property (nonatomic, strong) NSString *user_pro_topic_index;

@end
